//测试switch语句
public class TestSwitch03 {
    public static void main(String[] args){
    String computer = "联想";
    switch (computer){
        case "联想":
            System.out.println("联想电脑就是好");
            break;
        case "苹果":
            System.out.println("苹果电脑就是好");
            break;
        default:
            System.out.println("其他电脑也好");
            break;
    }
    }
}
